package com.chenxiao.mybatisplus.aop.entity;

import lombok.Data;

/**
 * @Author: Chenxiao
 * @Date: 2022-07-31 22:47
 * @Description: LogRecord
 */

@Data
public class LogRecord {

    //访问用户
    private String userName;

    //访问时间
    private String startTime;

    //接口地址
    private String url;

    //请求方式
    private String method;

    //访问者ip地址
    private String ip;

    @Override
    public String toString() {
        return "LogRecord{" +
                "userName='" + userName + '\'' +
                ", startTime='" + startTime + '\'' +
                ", url='" + url + '\'' +
                ", method='" + method + '\'' +
                ", ip='" + ip + '\'' +
                '}';
    }
}
